triangle = list(map(int, input().split()))
triangle.sort(reverse=True)
if triangle[0] >= triangle[1] + triangle[2]:
    print("Not triangle")
else:
    isTriang = triangle[0] * triangle[0] - triangle[1] * triangle[1] - triangle[2] * triangle[2]
    if isTriang == 0:
        print("Right triangle")
        if triangle[1] == triangle[2]:
            print("Isosceles triangle")
    elif isTriang < 0:
        print("Acute triangle")
        if triangle[1] == triangle[2] or triangle[0] == triangle[1] or triangle[0] == triangle[2]:
            print("Isosceles triangle")
        if triangle[0] == triangle[2]:
            print("Equilateral triangle")
    elif isTriang > 0:
        print("Obtuse triangle")
        if triangle[1] == triangle[2]:
            print("Isosceles triangle")


